package com.xxgc.ssm.dao;

import com.xxgc.ssm.po.Schools;
import com.xxgc.ssm.po.SchoolsExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @shi jia yi
 * @date 2021/12/14/10:57
 */
public interface SchoolsMapper {
    long countByExample(SchoolsExample example);

    int deleteByExample(SchoolsExample example);

    int deleteByPrimaryKey(Integer sId);

    int insert(Schools record);

    int insertSelective(Schools record);

    List<Schools> selectByExample(SchoolsExample example);

    Schools selectByPrimaryKey(Integer sId);

    int updateByExampleSelective(@Param("record") Schools record, @Param("example") SchoolsExample example);

    int updateByExample(@Param("record") Schools record, @Param("example") SchoolsExample example);

    int updateByPrimaryKeySelective(Schools record);

    int updateByPrimaryKey(Schools record);
}